<div id="bentrai">
  <div id="main-content">
    <div class="title-page" > Tin tức thời trang</div>
    <div class="tt-HomeTop">
      <table cellpadding="0" cellspacing="0" width="100%">
        <tr>

        <td class="tt-left-content" valign="top">

        <div class="zoneL">

        <table width="100%" cellpadding="0" cellspacing="0" border="0">
          <tr>

          <td id="MSOZoneCell_WebPartctl00_m_g_04ee48e6_fc5f_4a0b_9b0f_c09601f1df28" valign="top" class="s4-wpcell-plain">

          <table class="s4-wpTopTable" border="0" cellpadding="0" cellspacing="0" width="100%">
            <tr>
              <td valign="top"><div WebPartID="04ee48e6-fc5f-4a0b-9b0f-c09601f1df28" HasPers="false" id="WebPartctl00_m_g_04ee48e6_fc5f_4a0b_9b0f_c09601f1df28" width="100%" class="ms-WPBody noindex" allowDelete="false" allowExport="false" style="" >
                  <div id="ctl00_m_g_04ee48e6_fc5f_4a0b_9b0f_c09601f1df28">
                    <?php foreach($data AS $row): ?>
                    <div id='divtoptin' class='lvkd-item'>
                      <div class='lvkd-title'><a href="/tin-tuc/chi-tiet/<?php echo $row['News']['id']; ?>-<?php echo $row['News']['alias']; ?>.html"><?php echo $row['News']['title']; ?></a><span>(<?php echo date('d-m-Y',strtotime($row['News']['created'])); ?>)</span></div>
                      <div class='lvkd-nd'>
                        <div class='img'><a href="/tin-tuc/chi-tiet/<?php echo $row['News']['id']; ?>-<?php echo $row['News']['alias']; ?>.html"><img alt='' src="<?php echo $news_image_url_path . $row['News']['thumbnail']; ?>" /></a></div>
                        <div class='text-nt'><?php echo $row['News']['short_content']; ?></div>
                      </div>
                    </div>
                    <?php endforeach; ?>
                  </div>
                </div>
            </div>

            </td>

            </tr>

          </table>
          </td>

          </tr>

        </table>
        </td>

        </tr>

      </table>
      <?php echo $this->element('paging', array('paging'=>$this->Paginator));?>
     </div>
  </div>
</div>
